package com.gitee.poi.plugin.model;

import org.apache.poi.ss.usermodel.Sheet;

import java.util.List;

public class SheetInfo {

    private Sheet sheet;

    private Class clazz;

    private List<FieldStyle> fields;

    private int currentRowIndex;

    public SheetInfo() {
    }

    public SheetInfo(Sheet sheet, Class clazz, List<FieldStyle> fields, int currentRowIndex) {
        this.sheet = sheet;
        this.clazz = clazz;
        this.fields = fields;
        this.currentRowIndex = currentRowIndex;
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public Sheet getSheet() {
        return sheet;
    }

    public void setSheet(Sheet sheet) {
        this.sheet = sheet;
    }

    public List<FieldStyle> getFields() {
        return fields;
    }

    public void setFields(List<FieldStyle> fields) {
        this.fields = fields;
    }

    public int getCurrentRowIndex() {
        return currentRowIndex;
    }

    public void setCurrentRowIndex(int currentRowIndex) {
        this.currentRowIndex = currentRowIndex;
    }
}
